﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<MensUnoShop.Models.NormalMarket>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	MarketPictureList
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

	    <div id="main-content" class="hastable">
		    <div class="title title-spacing">
			    <h2>圖說列表</h2>
					
		    </div>  
            <input type="button" value="新增圖說" onclick="javascript:location.href='/Admin/Product/MarketPicture/0?mkguid=<%:ViewData["mkguid"] %>'" />
            <table cellspacing="0">
            <thead>
				<tr>					
					<td style="width:300px">圖片</td>
                    <td style="width:80px">說明</td>
                    <td style="width:150px">順序</td>
				</tr>
			</thead>
            <%if (Model != null){%>
             <tbody>
            <%foreach (var item in Model.MARKETIMG)
            {  %>
        	    <tr>                    
                    <td align="center" style="text-align: center" valign="middle"><img src="<%:item.PATH %>" width="300" height="300" /></td>
                    <td align="center" style="text-align: center" valign="middle"><%:item.TITLE %></td>
                    <td align="center" style="text-align: center" valign="middle"><%:item.SEQUENCE%></td>
                </tr>
            <%} %>
            </tbody>
            <%} %>
            </table>

            <br/><br/>　
        </div>

</asp:Content>
